package com.itheima.service;

import com.itheima.domain.Book;

import java.util.List;

/**
 * @Author Luojiawei
 * @Date 2023/10/18 8:40
 * @ClassName: BookService
 * @Description: TODO
 * @Version 1.0
 */
public interface BookService {

    boolean save(Book book);

    boolean update(Book book);

    boolean delete(Integer id);

    Book getById(Integer id);

    List<Book> getAll();
}
